package com.starinside.wp.domain;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "wx_template_status")
public class WxTemplateInfo  {

    @Id
    @Column(name = "msg_id", length = 64)
    private String msgId;

    @Column(name = "openid_wp")
    private String openIdWp;

    @Column(name = "sex_desc")
    private Byte wxType;

    @Column
    private Byte state;

    @Column
    private Date time;

    @Column(name = "serial_no")
    private String serialno;


    @Column(name = "err_msg")
    private String errMsg;

    @Column(name = "send_result")
    private String sendResult;

    @Column(name = "msg_content")
    private String msgContent;
}